/* 
 * File:   Campaign.h
 * Author: agu
 *
 * Created on 18 de junio de 2014, 17:11
 */

#ifndef CAMPAIGN_H
#define	CAMPAIGN_H
#include <string>
#include <vector>

#include "editor_Nivel.h"
#include "common_ParserXML.h"
using std::string;
using std::vector;
class Campaign {
public:
    Campaign();//Crear o levantar desde un archivo
    Campaign(const Campaign& orig);
    void incrementPlayers();
    void incrementLevels();
    void setNumberPlayers(int number);
    void setNumberLevels(int number);
    void setName(const string name);
    void setPathImage(const string name);
    void setDifficult(const string difficult);
    void setLevelsInfo(vector<vector<string>> levelsInfo);
    unsigned int getNumberLevels();
    unsigned int getNumberPlayers();
    string getDifficult();
    void clear();
    bool validate(string& msjError);
    void save();
    void removeSave();
    virtual ~Campaign();
private:
    
    unsigned int numberLevels;
    unsigned int numberPlayers;
    string name;
    string pathImage;
    string difficult;
    ParserXML parserXML;
    vector<vectorS> levelsInfo;

};

#endif	/* CAMPAIGN_H */

